package com.example.mydemo.mapper;


import com.example.mydemo.model.UserVO;
import com.example.mydemo.entity.Users;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UsersMapper extends BaseMapper<Users>{

    List<UserVO> selectByName(String name);
    int deleteByName(Long id);
}
